package br.com.beyondclick.controller;

import java.util.Set;

import net.sourceforge.stripes.controller.NameBasedActionResolver;
import net.sourceforge.stripes.util.Literal;

public class BeyondclickActionResolver extends NameBasedActionResolver {

	@Override
	public Set<String> getBasePackages() {
		return Literal.set(
			"br"
			, "com"
			, "beyondclick"
			, "controller"
		);
	}

	@Override
	public String getBindingSuffix() {
		return ".action";
	}

	@Override
	protected String getUrlBinding(String className) {
		return "/action".concat( super.getUrlBinding(className).toLowerCase() );
	}
}
